//
//  ZLWTopicListCell.m
//  EPA
//
//  Created by lanou3g on 16/4/23.
//  Copyright © 2016年 zlw. All rights reserved.
//

#import "ZLWTopicListCell.h"

@interface ZLWTopicListCell ()

@property (weak, nonatomic) IBOutlet UILabel *TitleLable;
@property (weak, nonatomic) IBOutlet UIImageView *CoveringImage;
@property (weak, nonatomic) IBOutlet UILabel *ContentLable;
@property (weak, nonatomic) IBOutlet UILabel *UnameLable;

@end

@implementation ZLWTopicListCell


-(void)layoutSubviews
{
    self.TitleLable.text = self.model.title;
    [self.CoveringImage sd_setImageWithURL:[NSURL URLWithString:self.model.coverimg] placeholderImage:[UIImage imageNamed:@"站位图.jpg"]];
    self.ContentLable.text = self.model.content;
  
    self.UnameLable.text = self.model.uname;
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
